@extends('root')
@section('content')
    <div class="container" style="background-color: #0dcaf0">
        <div class="row">
            <div class="col">reids乐观锁</div>
            <div class="col"><a href="{{route('redisLockInit')}}">初始化</a></div>
            <div class="col"><a href="{{route('redisLock')}}">执行</a></div>
        </div>
        <div class="row">
            <div class="col">redis 链表</div>
            <div class="col"><a href="{{route('redisQueueInit')}}">初始化</a></div>
            <div class="col"><a href="{{route('redisQueue')}}">执行</a></div>
        </div>
        <div class="row">
            <div class="col">没有队列，没有锁</div>
            <div class="col"><a href="">初始化</a></div>
            <div class="col"><a href="{{route('normal')}}">执行</a></div>
        </div>
    </div>
    <div class="container" style="background-color: #0dcaf0; margin-top: 20px">
        @if(isset($res))
            {{$res}}
        @else
            没有数据
        @endif
    </div>
@endsection